package com.lhn.spring5.test;

import com.lhn.spring5.service.AccountService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * 整合Jutil4
 *
 * @author lhn
 * @date 2022/01/07 11:08
 * @since 1.0.0
 **/
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:bean2.xml")
public class JTest4 {

    @Autowired
    private AccountService accountService;

    @Test
    public void test1() {
        accountService.accountMoney();
    }

}